﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace MyMovieSystem
{
    [Serializable]
    /// <summary>
    /// 放映厅类
    /// </summary>
    public class Hall
    {
        /// <summary>
        /// 放映厅ID
        /// </summary>
        public string H_ID { get; set; }
        /// <summary>
        /// 名称
        /// </summary>
        public string H_Name { get; set; }
        /// <summary>
        /// 类型
        /// </summary>
        public string H_Type { get; set; }
        /// <summary>
        /// 放映日期
        /// </summary>
        public DateTime ShowData { get; set; }
        /// <summary>
        /// 播放时间
        /// </summary>
        public string ShowTime { get; set; }

        /// <summary>
        /// 票价
        /// </summary>
        public double Price { get; set; }
        /// <summary>
        /// 座位信息
        /// </summary>
        public Seat[,] SeatInfo { get; set; }

        public Hall() { }

        public Hall(string id, string name,string type, Seat[,] seatInfo)
        {
            this.H_Name = name;
            this.H_ID = id;
            this.H_Type = type;
            this.SeatInfo = seatInfo;
        }
    }
}
